//
//  YYViewController.m
//  XiangMuB
//
//  Created by lanou3g on 16/8/22.
//  Copyright © 2016年 lanou3g. All rights reserved.
//

#import "YYViewController.h"

@interface YYViewController ()<UIWebViewDelegate>
@property (strong,nonatomic)UIWebView *webview;
@end

@implementation YYViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    _webview =[[UIWebView alloc] initWithFrame:CGRectMake(0, 0, self.view.frame.size.width,self.view.frame.size.height)];
    
    _webview.backgroundColor = [UIColor whiteColor];
    [self.view addSubview:_webview];
    
    /*
     http://tu.budejie.com/
     
     */
    [self.webview loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"http://m.yy.com/mobile/s/myy/index.html"]]];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
